package com.wxd.modules.function.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *奖惩记录
 */

@Data
@TableName("reward_record")
public class RewardRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;
    /**
     * 员工ID
     */
    private Long empId;
    /**
     * 奖励、惩处名称
     */
    private String name;
    /**
     * 受奖励、惩处时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    /**
     * 具体内容
     */
     private String content;
}
